package com.meowcook.pojo.dto;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * Created with Intellij IDEA.
 * Description:
 * User: 28792
 * Date: 2025-10-29
 * Time: 15:09
 */

@Data
@ApiModel("关注操作参数")
public class FollowDTO {

    @Min(value = 1L)
    @ApiModelProperty(value = "id" )
    private Long Id;

    @JsonIgnore
    private Long fanId;

    @NotNull
    @Min(value = 1L)
    @ApiModelProperty(value = "被关注用户id")
    private Long idolId;

    @NotNull
    @ApiModelProperty(value = "是否取消关注: 0-否, 1-是")
    private Byte isBlocked;
}
